/**
 * 
 */
package com.hundsun.monitor.server.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hundsun.monitor.client.service.MonitorErrorLogService;
import com.hundsun.monitor.server.dao.MonitorErrorLogDAO;
import com.hundsun.monitor.shared.model.MonitorErrorLog;

@Service("errorLogService")
public class MonitorErrorLogServiceImpl implements MonitorErrorLogService{

	@Autowired
	private MonitorErrorLogDAO dao;
	
	@Override
	public int getErrorLogTotal(MonitorErrorLog log) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Transactional(readOnly=true)
	@Override
	public List<MonitorErrorLog> getErrorLogPagination(MonitorErrorLog log) {
		return dao.list();
	}

}
